﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace KSS.Generator.Schema
{
    public class ElementType
    {
        private string _name;
        [XmlAttribute]
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private string _idRef;
        [XmlAttribute]
        public string IdRef
        {
            get { return _idRef; }
            set { _idRef = value; }
        }

        private List<Column> _columns;
        [XmlElement("Column", Type = typeof(Column))]
        public List<Column> Columns
        {
            get { return _columns; }
            set { _columns = value; }
        }
    }
}
